package o;

import android.content.Context;
import com.huawei.secure.android.common.intent.SafeBundle;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public abstract class dpn<C, R> {
    public static final Map<Class<? extends dpn<?, ?>>, Integer> ॱ = new ConcurrentHashMap();
    protected String ˊ = dpn.class.getSimpleName();
    private SafeBundle ˋ;

    protected abstract R ˋ(Context context, C c) throws InterruptedException;

    protected abstract void ˏ(Context context, C c, R r) throws InterruptedException;

    protected abstract C ॱ(Context context) throws InterruptedException;

    public void ˊ(Context context) throws InterruptedException {
        Logger.ˏ("ScheduleRepeatService", " preExecute task:" + getClass().getSimpleName());
        Object ॱ = ॱ(context);
        ˏ(context, ॱ, ˋ(context, ॱ));
    }

    public void ˋ(SafeBundle safeBundle) {
        this.ˋ = safeBundle;
    }

    public SafeBundle ˊ() {
        return this.ˋ;
    }
}
